package com.ruoyi.project.surveys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 题目信息对象 surveys_question
 * 
 * @author zhimin-hu
 * @date 2020-05-02
 */
public class SurveysQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 问卷编号 */
    @Excel(name = "问卷编号")
    private String surveysNo;

    /** 父级编号 */
    @Excel(name = "父级编号")
    private Long questionParentId;

    /** 问题编号 */
    @Excel(name = "问题编号")
    private Long questionNo;

    /** 问题主题 */
    @Excel(name = "问题主题")
    private Long questionMotifId;
    /** 题型名称 */
    @Excel(name = "题型名称")
    private String questionMotifName;
    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 选择权 */
    @Excel(name = "选择权")
    private Integer options;

    /** 是否追加文字 */
    @Excel(name = "是否追加文字")
    private Integer optionsSubjoin;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;

    /** 删除标志 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSurveysNo(String surveysNo) 
    {
        this.surveysNo = surveysNo;
    }

    public String getSurveysNo() 
    {
        return surveysNo;
    }
    public void setQuestionParentId(Long questionParentId) 
    {
        this.questionParentId = questionParentId;
    }

    public Long getQuestionParentId() 
    {
        return questionParentId;
    }
    public void setQuestionNo(Long questionNo) 
    {
        this.questionNo = questionNo;
    }

    public Long getQuestionNo() 
    {
        return questionNo;
    }
    public void setQuestionMotifId(Long questionMotifId) 
    {
        this.questionMotifId = questionMotifId;
    }

    public Long getQuestionMotifId() 
    {
        return questionMotifId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setOptions(Integer options) 
    {
        this.options = options;
    }

    public Integer getOptions() 
    {
        return options;
    }
    public void setOptionsSubjoin(Integer optionsSubjoin) 
    {
        this.optionsSubjoin = optionsSubjoin;
    }

    public Integer getOptionsSubjoin() 
    {
        return optionsSubjoin;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getQuestionMotifName() {
        return questionMotifName;
    }

    public void setQuestionMotifName(String questionMotifName) {
        this.questionMotifName = questionMotifName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("surveysNo", getSurveysNo())
            .append("questionParentId", getQuestionParentId())
            .append("questionNo", getQuestionNo())
            .append("questionMotifId", getQuestionMotifId())
            .append("title", getTitle())
            .append("type", getType())
            .append("options", getOptions())
            .append("optionsSubjoin", getOptionsSubjoin())
            .append("orderNum", getOrderNum())
            .append("description", getDescription())
            .append("remarks", getRemarks())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
